\hypertarget{structnih_1_1_cosine__distribution}{
\section{nih\-:\-:\-Cosine\-\_\-distribution \-Struct \-Reference}
\label{structnih_1_1_cosine__distribution}\index{nih\-::\-Cosine\-\_\-distribution@{nih\-::\-Cosine\-\_\-distribution}}
}


{\ttfamily \#include $<$distributions.\-h$>$}



\-Inherits \hyperlink{structnih_1_1_base__distribution}{nih\-::\-Base\-\_\-distribution$<$ Cosine\-\_\-distribution $>$}.

\subsection*{\-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
\-N\-I\-H\-\_\-\-H\-O\-S\-T\-\_\-\-D\-E\-V\-I\-C\-E float \hyperlink{structnih_1_1_cosine__distribution_a9f6794396c7cee3e10d95d3d3f70a14e}{map} (const float \-U) const 
\item 
\-N\-I\-H\-\_\-\-H\-O\-S\-T\-\_\-\-D\-E\-V\-I\-C\-E float \hyperlink{structnih_1_1_cosine__distribution_a71542a12b020e6f3db6ab5d52c0725b9}{density} (const float x) const 
\end{DoxyCompactItemize}


\subsection{\-Detailed \-Description}
\-Cosine distribution 

\subsection{\-Member \-Function \-Documentation}
\hypertarget{structnih_1_1_cosine__distribution_a71542a12b020e6f3db6ab5d52c0725b9}{
\index{nih\-::\-Cosine\-\_\-distribution@{nih\-::\-Cosine\-\_\-distribution}!density@{density}}
\index{density@{density}!nih::Cosine_distribution@{nih\-::\-Cosine\-\_\-distribution}}
\subsubsection[{density}]{\setlength{\rightskip}{0pt plus 5cm}\-N\-I\-H\-\_\-\-H\-O\-S\-T\-\_\-\-D\-E\-V\-I\-C\-E float nih\-::\-Cosine\-\_\-distribution\-::density (
\begin{DoxyParamCaption}
\item[{const float}]{x}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{structnih_1_1_cosine__distribution_a71542a12b020e6f3db6ab5d52c0725b9}
probability density function


\begin{DoxyParams}{\-Parameters}
{\em x} & sample location \\
\hline
\end{DoxyParams}
\hypertarget{structnih_1_1_cosine__distribution_a9f6794396c7cee3e10d95d3d3f70a14e}{
\index{nih\-::\-Cosine\-\_\-distribution@{nih\-::\-Cosine\-\_\-distribution}!map@{map}}
\index{map@{map}!nih::Cosine_distribution@{nih\-::\-Cosine\-\_\-distribution}}
\subsubsection[{map}]{\setlength{\rightskip}{0pt plus 5cm}\-N\-I\-H\-\_\-\-H\-O\-S\-T\-\_\-\-D\-E\-V\-I\-C\-E float nih\-::\-Cosine\-\_\-distribution\-::map (
\begin{DoxyParamCaption}
\item[{const float}]{\-U}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{structnih_1_1_cosine__distribution_a9f6794396c7cee3e10d95d3d3f70a14e}
transform a uniformly distributed number through the distribution


\begin{DoxyParams}{\-Parameters}
{\em \-U} & real number to transform \\
\hline
\end{DoxyParams}


\-The documentation for this struct was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
sampling/\hyperlink{distributions_8h}{distributions.\-h}\end{DoxyCompactItemize}
